package com.example.service;

import com.example.entity.Jiaoyi;
import com.github.pagehelper.PageInfo;

public interface IJiaoyiService {
    PageInfo<Jiaoyi> findAll(String name, Integer typeId, Integer pageNum, Integer pageSize);

    void delete(Integer id);

    Jiaoyi getById(Integer id);

    void update(Jiaoyi jiaoyi);
}
